<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>变色龙2.0租户管理</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery/jquery-1.8.3.min.js"></script>
   
<!-- common js --> 
<script src="js/koala/Validate.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/koala/koala-ui.plugin.js"></script>
<script src="js/koala/Validate.js" type="text/javascript"></script>



<script type="text/javascript">
  function requestTest(){
    $.ajax({
        url: "system/account/save",
        type: 'get',
        data:{
            username:$("#username").val(),
            password:$("#password").val(),
            email:$("#email").val(),
            contact:$("#contact").val(),
            telephone:$("#telephone").val(),
            phone:$("#phone").val(),
            companyName:$("#companyName").val(),
            address:$("#address").val()
          },

        success:function(result){
          if(result.result == "success"){
            window.location.href = result.successAddress;
          }else{
            alert(result.result);
          }
          console.log(result);
        },
        
        error: function(){alert('Error loading Ajax');},
      })
    
    
  }

  function formReset(){
    document.getElementById("registerFrom").reset();
  }
</script>


</head>

<body>
<!---头部---->
<div class="head">
  <div class="head1">
    <div class="head-use">
      <label>yeziming  &nbsp;&nbsp;</label>
      <a href="">帮助</a>&nbsp;|&nbsp;<a href="">退出</a></div>
    <div class="menu">
      <ul>
        <li ><a href="">应用管理</a></li>
        <li><a href="">模块管理</a></li>
        <li><a href="">设备管理</a></li>
        <li><a href="">安全中心</a></li>
        <li><a href="">云服务</a></li>
        <li class="menu-choose"><a href="">租户服务</a></li>
      </ul>
    </div>
  </div>
</div>
<!---头部结束---->
  <div class="title1">租户服务<a href="">租户注册</a></div>
  
<!---内容开始---->
<div class="con">
<!---内容开始---->
<div class="con1">
<div class="bg_top"><span>租户注册信息</span></div>
<form id="registerFrom" name="registerFrom">
<table class="infor">
  <tr>
    <td><span class="font_1">*</span>&nbsp;用户名</td>
    <td><input class="input_form1" id="username" name="username" type="text" value=""/></td>
  </tr>
  <tr>
    <td><span class="font_1">*</span>&nbsp;密码</td>
    <td><input class="input_form1" id="password" name="password" type="password" value="123"/></td>
  </tr>
  <tr>
    <td><span class="font_1">*</span>&nbsp;确认密码</td>
    <td><input class="input_form1" id="password2" name="password" type="password" value="123"/></td>
  </tr>
  <tr>
    <td><span class="font_1">*</span>&nbsp;常用Email</td>
    <td><input class="input_form1" id="email" name="email" type="text" value="85499557@qq.com"/></td>
  </tr>
  <tr>
    <td><span class="font_1">*</span>&nbsp;手机号码</td>
    <td><input class="input_form1" id="phone" name="phone" type="text" value="13800138000"/></td>
  </tr>
  <tr>
    <td><span class="font_1">*</span>&nbsp;联系号码</td>
    <td><input class="input_form1" id="telephone" name="telephone" type="text" value="13800138000"/></td>
  </tr>
  <tr>
    <td>公司名称</td>
    <td><input class="input_form1" id="companyName" name="companyName" type="text" value="foreveross"/></td>
  </tr>
  <tr>
    <td>联系方式</td>
    <td>
      <input class="input_form1" id="contact" name="contact" type="text" value="here"/>
    </td>
  </tr>
  <tr>
    <td>地址</td>
    <td><input class="input_form1" id="address" name="address" type="text" value="Guangzhou"/></td>
  </tr>
  <tr>
    <td colspan="2">
      <div class="hr"></div>
      <div class="login11">
      <a href="#" onclick="requestTest()"><img src="images/bt_1.gif"  /></a><a href="#" onclick="formReset()" class="login_but"><img src="images/bt_2.gif"  /></a></div>
    </td>
  </tr>
</table>
</form>


<div class="hr"></div>
</div>


</div>
<div class="footer"><div>Forever Opensource Software Inc. All rights reserved.</div></div>
</body>
</html>
